<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
[
<#if app.getAllPSAppDataEntities?? && app.getAllPSAppDataEntities()??>
<#list app.getAllPSAppDataEntities() as appDataEntity>
<#if appDataEntity.getAllPSAppPortlets?? && appDataEntity.getAllPSAppPortlets()??>
<#list appDataEntity.getAllPSAppPortlets() as appdePortlet>
<#if appdePortlet.isEnableAppDashboard?? && appdePortlet.isEnableAppDashboard()?? && appdePortlet.isEnableDEDashboard() == true>
{"type":"appde",
"appCodeName":"${appDataEntity.getCodeName()}",
"appName":"${appDataEntity.getLogicName()}",
"portletCodeName": "${appdePortlet.getCodeName()}",
"portletName": "${appdePortlet.getName()}",
"groupCodeName":"<#if appdePortlet.getPSAppPortletCat()??>${appdePortlet.getPSAppPortletCat().getCodeName()}</#if>",
"groupName":"<#if appdePortlet.getPSAppPortletCat()??>${appdePortlet.getPSAppPortletCat().getName()}</#if>",
<#if appdePortlet.getPSSysPortlet?? && appdePortlet.getPSSysPortlet()??>"portletTYpe":"${appdePortlet.getPSSysPortlet().getPortletType()}","componentName":"${srffilepath2(appDataEntity.getCodeName())}-${srffilepath2(appdePortlet.getPSSysPortlet().getCodeName())}-portlet"</#if>},
</#if>
</#list>
</#if>
</#list>
</#if>
<#if app.getAllPSAppPortlets?? && app.getAllPSAppPortlets()??>
<#list app.getAllPSAppPortlets() as appPortlet>
<#if appPortlet.isEnableAppDashboard?? && appPortlet.isEnableAppDashboard()?? && appPortlet.isEnableAppDashboard() == true>
<#if appPortlet.getPSAppDataEntity?? && appPortlet.getPSAppDataEntity()??>
<#assign appDataEntity = appPortlet.getPSAppDataEntity() />
{"type":"app",
"appCodeName":"${appDataEntity.getCodeName()}",
"appName":"${appDataEntity.getLogicName()}",
"portletCodeName": "${appPortlet.getCodeName()}",
"portletName": "${appPortlet.getName()}",
"groupCodeName":"<#if appPortlet.getPSAppPortletCat()??>${appPortlet.getPSAppPortletCat().getCodeName()}</#if>",
"groupName":"<#if appPortlet.getPSAppPortletCat()??>${appPortlet.getPSAppPortletCat().getName()}</#if>",
<#if appPortlet.getPSSysPortlet?? && appPortlet.getPSSysPortlet()??>"portletTYpe":"${appPortlet.getPSSysPortlet().getPortletType()}","componentName":"app-${srffilepath2(appDataEntity.getCodeName())}-${srffilepath2(appPortlet.getPSSysPortlet().getCodeName())}-portlet"</#if>}<#if appPortlet_has_next>,</#if>
<#else>
{"type":"app",
"appCodeName":"${app.getPKGCodeName()}",
"appName":"${app.getName()}",
"portletCodeName": "${appPortlet.getCodeName()}",
"portletName": "${appPortlet.getName()}",
"groupCodeName":"<#if appPortlet.getPSAppPortletCat()??>${appPortlet.getPSAppPortletCat().getCodeName()}</#if>",
"groupName":"<#if appPortlet.getPSAppPortletCat()??>${appPortlet.getPSAppPortletCat().getName()}</#if>",
<#if appPortlet.getPSSysPortlet?? && appPortlet.getPSSysPortlet()??>"portletTYpe":"${appPortlet.getPSSysPortlet().getPortletType()}","componentName":"app-${srffilepath2(appPortlet.getPSSysPortlet().getCodeName())}-portlet"</#if>}<#if appPortlet_has_next>,</#if>
</#if>
</#if>
</#list>
</#if>
]